﻿namespace ZenSystemService.Api.Entities
{
    /// <summary>
    /// 机构订单，直接购买设备的订单
    /// </summary>
    public class InstitutionSalesOrder
    {
        public int Id { get; set; }
        public List<InstitutionSalesOrderItem> OrderItems { get; set; } = new List<InstitutionSalesOrderItem>();
        public User User { get; set; }
        public decimal FinalAmount { get; set; }
        public int Status { get; set; } = 0; // 0: 未付款，1:已付款
        public int InstitutionId { get; set; }
        public Institution Institution { get; set; }
        public DateTime CreatedDate { get; set; }
    }
}
